#ifndef FILEREADER_H
#define FILEREADER_H

#include <QLineF>
#include <QPointF>
#include "point.h"
#include <QtGui>
#include "points.h"

class FileReader
{
public:
    FileReader(const QString fileName);
    void readMap();
    Points readMapKriging();
    void readWells(QString fileName);
    void readLines(QString fileName);
    QList<Point> getPoints() const {return points;}
    QString getMapName()const {return mapName;}

    double getMinorX()const {return minorX;}
    double getMinorY()const {return minorY;}
    double getMaxX()const {return maxX;}
    double getMaxY()const {return maxY;}


    //Points getAllPoints() {return this->allPoints;}

private:
    QList<Point> points;
    //Points allPoints;
    QString fileName;
    QString mapName;
    double minorX;
    double minorY;
    double maxX;
    double maxY;
};

#endif // FILEREADER_H
